﻿using System;
using System.Collections.Generic;
using System.Text;

namespace NLBS.Entity
{
   public class Category
    {
        private int _categoryID;

        /// <summary>
        /// 分类编号
        /// </summary>
        public int CategoryID
        {
            get { return _categoryID; }
            set { _categoryID = value; }
        }

        private string _name;
        /// <summary>
        /// 分类名
        /// </summary>
        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }

        private int _order;
        /// <summary>
        /// 排序编号
        /// </summary>
        public int Order
        {
            get { return _order; }
            set { _order = value; }
        }

        private int _articleCount;
        /// <summary>
        /// 分类下日志数
        /// </summary>
        public int ArticleCount
        {
            get { return _articleCount; }
            set { _articleCount = value; }
        }

        private bool _hidden;
        /// <summary>
        /// 是否隐藏
        /// </summary>
        public bool Hidden
        {
            get { return _hidden; }
            set { _hidden = value; }
        }

        private bool _locked;
        /// <summary>
        /// 是否锁定
        /// </summary>
        public bool Locked
        {
            get { return _locked; }
            set { _locked = value; }
        }
    }
}
